package cn.juque.lucenecandy.bo;

import cn.juque.lucenecandy.core.enums.DataTypeEnum;
import cn.juque.lucenecandy.core.enums.FieldFillEnum;
import lombok.Data;
import org.apache.lucene.document.Field;

import java.util.Set;

/**
 * @author juque
 * @version 1.0.0
 * <ul>
 *     <li>FieldBO</li>
 * </ul>
 * @date 2023-12-01 12:35:43
 **/
@Data
public class FieldBO {

    private String fieldName;

    private DataTypeEnum dataType;

    private Boolean isId;

    private Boolean indexed;

    private Boolean groupBy;

    private Field.Store store;

    private Set<FieldFillEnum> fills;
}
